//*******************************************************************
//        模    块: 模块
//        版权所有: 版权所有(C)2008-2009
//        公    司: 
//        内容摘要: 没有内容说明
//        其他说明: 其它内容的说明
//        创建时间：2014年05月DD日 22时49分17秒
//        修改记录1: 修改历史记录，包括修改日期、修改者及修改内容
//        <pre>
//           修改日期：
//           版 本 号：
//           修 改 人：
//           修改内容：
//        </pre>
//        @version 1.0
//        @author  
//        @Email   
//********************************************************************

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CP.DBService;
using System.Data.Linq.Mapping;
using System.Runtime.Serialization;

namespace LF3.Moduls
{
    /// <summary>
	/// LF当前生产数据
	/// </summary>
	[DataContract]
	public class Lf_Curheats
	{
		/// <summary>
		/// 炉座号
		/// </summary>
		[Column(DbType="INTEGER(2)")]
		[DataMember]
		public int lf_no { get ; set; }
		/// <summary>
		/// 工位
		/// </summary>
		[Column(DbType="INTEGER(2)")]
		[DataMember]
		public int lf_pos { get ; set; }
		/// <summary>
		/// 计划号
		/// </summary>
		[Column(IsPrimaryKey=true, Name="1", DbType="INTEGER(10) NOT NULL")]
		[DataMember]
		public long bofschedleid { get ; set; }
		/// <summary>
		/// 炉号
		/// </summary>
		[Column(DbType="VARCHAR2(11)")]
		[DataMember]
		public string heatid { get ; set; }
		/// <summary>
		/// 内部钢种
		/// </summary>
		[Column(DbType="VARCHAR2(16)")]
		[DataMember]
		public string steelgradeno { get ; set; }
		/// <summary>
		/// 标准号,According StandardNo and AlphaNo to find Standard Chemical Element
		/// </summary>
		[Column(DbType="VARCHAR2(20)")]
		[DataMember]
		public string standardno { get ; set; }
		/// <summary>
		/// 协议号
		/// </summary>
		[Column(DbType="VARCHAR2(20)")]
		[DataMember]
		public string alphano { get ; set; }
		/// <summary>
		/// 钢水净重
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int stlnetwgt { get ; set; }
		/// <summary>
		/// 钢包编号
		/// </summary>
		[Column(DbType="VARCHAR2(4)")]
		[DataMember]
		public string ladleid { get ; set; }
		/// <summary>
		/// 钢包包龄
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int ladlelife { get ; set; }
		/// <summary>
		/// 钢包状态
		/// </summary>
		[Column(DbType="INTEGER(4)")]
		[DataMember]
		public int ladlestatus { get ; set; }
		/// <summary>
		/// 到达LHF时间炉次开始
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? tolhftime { get ; set; }
		/// <summary>
		/// 离开LHF时间炉次结束
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? leavelhftime { get ; set; }
		/// <summary>
		/// 电耗
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int lhfpower { get ; set; }
		/// <summary>
		/// 冶炼时间
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int melttime { get ; set; }
		/// <summary>
		/// 通电时间
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int powertime { get ; set; }
		/// <summary>
		/// 软吹Ar时间
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int lhfsoftartime { get ; set; }
		/// <summary>
		/// 本炉记事
		/// </summary>
		[Column(DbType="VARCHAR2(254)")]
		[DataMember]
		public string notes { get ; set; }
		/// <summary>
		/// 炉次通报开始时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? starttime { get ; set; }
		/// <summary>
		/// 炉次结束时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? endtime { get ; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? createtime { get ; set; }
		/// <summary>
		/// 生产日期
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? prod_date { get ; set; }
		/// <summary>
		/// 连铸机号
		/// </summary>
		[Column(DbType="VARCHAR2(4)")]
		[DataMember]
		public string casterno { get ; set; }
		/// <summary>
		/// 到站温度
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int arrivetemp { get ; set; }
		/// <summary>
		/// 出站温度
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int leavetemp { get ; set; }
		/// <summary>
		/// 软吹前温度
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int softbftemp { get ; set; }
		/// <summary>
		/// 起吊温度
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int liftingtemp { get ; set; }
		/// <summary>
		/// 炉次状态(0-开始生产;1-中断生产)
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int isfinished { get ; set; }
		/// <summary>
		/// 氩气消耗量
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int arconsume { get ; set; }
		/// <summary>
		/// 氮气消耗量
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int n2consume { get ; set; }
		/// <summary>
		/// 温度预报
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int pretemp { get ; set; }
		/// <summary>
		/// 喂丝吹氩时间
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int wsarsofttime { get ; set; }
		[Column(DbType="VARCHAR2(7)")]
		[DataMember]
		public string pono { get ; set; }
 
		public Lf_Curheats()
		{
			heatid = "";
			steelgradeno = "";
			standardno = "";
			alphano = "";
			ladleid = "";
			notes = "";
			casterno = "";
			pono = "";
		}
	}


    /// <summary>
	/// LF当前生产数据服务
	/// </summary>
	public class Lf_CurheatsService : DataService<Lf_Curheats>
	{
	
	}

}
